<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width = device-width, initial-scale = 1.0, minimum-scale = 1.0, maximum-scale = 1.0, user-scalable = no"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<title>我的金币</title>

<link type="text/css" href="../css/reset.css" rel="stylesheet" />
<link type="text/css" href="../css/public.css" rel="stylesheet" />
<link type="text/css" href="../css/style.css" rel="stylesheet" />
<link type="text/css" href="../css/wode.css" rel="stylesheet" />
<script>
    var deviceWidth = Math.min(640, window.innerWidth)
    document.documentElement.style.fontSize = deviceWidth / 7.5 + "px"
</script>
 <script src="../js/jquery-3.0.0.min.js"></script>
 <script src="../js/core.js"></script>
 <script src="../js/23.0.0sellwodejinbi.js"></script>

</head>

<body>
<!-- top -->
<div class="header">
    <header class="p_header public-red">
        <a href="javascript:history.go(-1);" class="p_header_left">
            <i class="p_left" title="返回"></i>
        </a>
        <h1 class="p_dizhi">我的金币</h1>
        <a href="" id="duihuanjilu" class="p_header_right">兑换记录</a>
    </header>
</div>
<!--我的金币-->
<div class="buy_money sell_jinbi_bg">
	<h3 id="keyongjingbi"></h3>
</div>

<div class="sell_jinbi w_xxtaba">
    <ul class="clearfix w_xxtab_tit">
        <li class="jinbi_curr">
            <a href="javascript:void(0);">花金币</a>
        </li>
        <li>
            <a href="javascript:ZHUANG();">赚金币</a>
        </li>
        <li>
            <a href="javascript:mingxis(3);">金币明细</a>
        </li>
    </ul>
    <div class="w_ddcon1" >
    	<div class="Daike_show2 Daike_show_close2" style="display: none;">
	
	<img id="erweima2" src="images/annnder.png">
</div>
          <div id="jignbist">
          		<div class="public-jianxi" ></div>
    	<div class="sell_jinbi_hua">
            <a href="#" onclick="dianjis(this)"> <!--//21.0.0zengzhifuwu.html-->
                <div>
                    <img src="../images/sell11.png">
                </div>
                <h5>购买增值服务</h5>
            </a>
		</div>
          </div>
    
    </div>
   
    <script>
    	
    	function dianjis(te){
    		$("#jignbist").html("");
      	     var u = navigator.userAgent;
 var device =""; //当前设备信息
 if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {//安卓手机
     device = "Android";
     $("#erweima2").attr("src","../images/annnder.png");
 } else if (u.indexOf('iPhone') > -1) {//苹果手机
 	   $("#erweima2").attr("src","../images/iphon.png");
     device = "iPhone";
 } else if (u.indexOf('Windows Phone') > -1) {//winphone手机
     device = "Windows Phone";
 }
       $("body").append("<div id='mask'></div>");
        $(".Daike_show2").show();
    	}
    	
    </script>
      <script type="text/javascript">
    $(".P-price").on('click',function(){
        $("body").append("<div id='mask'></div>");
        $(".Daike_show2").show();
    })
    //点击关闭
    $(".Daike_show_close2").on('click',function(){
    	
    	var sihs='<div class="public-jianxi" ></div>'+
    	'<div class="sell_jinbi_hua">'+
            '<a href="#" onclick="dianjis(this)">'+
                '<div>'+
                    '<img src="../images/sell11.png">'+
                '</div>'+
                '<h5>购买增值服务</h5>'+
            '</a>'
		'</div>';
    		$("#jignbist").html(sihs);
        $(".Daike_show2").hide();
        $("#mask").remove();
    }) 
</script>
  <style>
	.Daike_show2 {
    width: 225px;
    height: 226px;
    background: #FFFFFF;
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -120px;
    margin-top: -95px;
    display: none;
    z-index: 99;
}
</style>
    
    
    
    <div class="w_ddcon1" style="display:none;">
        <div class="public-jianxi"></div>
    	<dl class="sell_jinbi_zhuan">
    		<h5>全店最高可抵扣比例<span id="jingbidikouzhuangtai">未开启</span></h5>
    		<div class="sell_jinbi_p">
    			<p>参加佳港金币抵钱活动，即全店支持买家使用金币抵扣商品部分金额，买家用于抵扣的金币，100%存入你的卖家账户，供后期店铺以优惠价购买平台广告、流量使用。</p>
    			<p>你设置单笔订单最高可使用金币抵扣的比例，最低3%，最高可设20%，设置比例必须为整数。开通后，可继续对单品设置不同的抵扣比例。</p>
    			<p>设置金币抵钱活动更有利提高升商品的曝光机会。</p>
    		</div>
    		<dd>
    			<a href="javascript:void(0);" id="J_bili">
	    			全店最高可抵扣比例
	    			<span id="dikouzuigaobili"></span>
    			</a>
    		</dd>
    		<dd>
    			<a href="" id="shezhidanping">
	    			设置单品
    			</a>
    		</dd>
    		<input type="hidden" id="shifouqiyong"/>
    		<input class="p_button" type="button" style="text-align: center;" onclick="queren(2)" id="anniu" value="立即开启" />
    	</dl>
    </div>
    <div class="w_ddcon1" style="display:none;">
    	<div class="public-jianxi"></div>
        <dl class="yue_list" id="jingbijilu">
			
		</dl>
    </div>
    
</div>

<div class="jinbi_show">
	<h5>设置最高可抵扣比例</h5>
	<h6>可设范围3%-20%</h6>
	<div class="jinbi_jinput">
		<input type="button" onclick="jianhao(this)" value="-" />
		<input type="text" onchange="wenbenkuang(this)" id="wenben" value="3" />
		<input type="button" onclick="jiahao(this)" value="+" />
	</div>
	<div class="mid-width">
		<input type="button" onclick="queren(1)" class="p_button jinbi_hide" value="确认" />
	</div>
</div>
<input type="hidden" id="fenye" value="0"/>


<script type="text/javascript" src="../js/jquery-1.10.1.min.js"></script>
<script type="text/javascript">
$(function () {
   $('.w_xxtab_tit li').on('click',function(){
        //获得当前被点击的元素索引值
        var Index = $(this).index();
        //给菜单添加选择样式
        $(this).addClass('jinbi_curr').siblings().removeClass('jinbi_curr');
        //显示对应的div
		$('.w_xxtaba').children('div').eq(Index).show().siblings('div').hide();
   
   });
});

	// 设置
    // 弹出
    $("#J_bili").on('click',function(){
        $("body").append("<div id='mask'></div>");
        $(".jinbi_show").show();
    })
    //点击关闭
    $(".jinbi_hide").on('click',function(){
        $(".jinbi_show").hide();
        $("#mask").remove();
    }) 
</script>



<script>
	 function mingxis(){
	 	$("#jingbijilu").html("");
	 	currentPage1=1;
	 	ss=0;
	 	 mingxi();
	 }
	 $(window).scroll(function() {
    if ($(document).scrollTop() >= $(document).height() - $(window).height()) {
	          var tui=$("#fenye").val();
	          if(tui==1){
               currentPage1++;
	          mingxi();
	          }
       }
  });	
</script>

</body>
</html>